package cn.itcast.bos.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;

import cn.itcast.bos.domain.base.Area;

public interface AreaRepository extends JpaRepository<Area, Integer>,JpaSpecificationExecutor<Area> {

	@Query(value="delete from Area where id =?1")
	@Modifying
	void delete(String string);


}
